package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
public class Car {
    private Long id;

    //车主
    private String carOwner;
    //车辆品牌
    private String brand;
    //车型
    private String model;
    //车牌号
    private String number;
    //排气量
    private String displacement;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date buydate;
    //市场估价
    private BigDecimal evaluate;
    //车辆分类
    private int classify;
    //车辆大小
    private int carsize;
    //备注信息
    private String postscript;


}